package com.springboot.user.entity;

import com.springboot.framework.entity.BaseEntity;
import com.springboot.framework.mvc.mapper.annotation.Column;
import com.springboot.framework.mvc.mapper.annotation.Table;
import com.springboot.framework.mvc.mapper.annotation.UseParent;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@UseParent
@Table(name = "blog_user")
public class User extends BaseEntity {

    @Column(name = "open_id")
    private String openId;

    @Column(name = "login_num")
    private Integer loginNum;

    @Column(name = "password")
    private String password;

    @Column(name = "name")
    private String name;

    @Column(name = "nick_name")
    private String nickName;

    @Column(name = "age")
    private Integer age;
}
